package com.fix.config;

import com.fix.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfig {
    @Bean
    public User user(){
        User user = new User();
        user.setName("张三");
        user.setAge(20);
        return user;
    }
}
